<html>
<body>


<script type="text/javascript">
    function Book(imgurl,pixelUrl,url,title,bookNotes)
    {
    this.imgurl=imgurl;
    this.pixelUrl=pixelUrl;
    this.url=url;
    this.title=title;
    this.bookNotes=bookNotes;
    }



    var books =  [
    new Book(
    "http://ws.assoc-amazon.de/widgets/q?_encoding=UTF8&Format=_SL110_&ASIN=0321712471&MarketPlace=DE&ID=AsinImage&WS=1&tag=httpwwwradics-21&ServiceVersion=20070822",
    "http://www.assoc-amazon.de/e/ir?t=httpwwwradics-21&l=as2&o=3&a=0321712471",
    "http://www.amazon.de/gp/product/0321712471/ref=as_li_ss_il?ie=UTF8&tag=httpwwwradics-21&linkCode=as2&camp=1638&creative=19454&creativeASIN=0321712471",
    "Management 3.0",
    "http://lpiinyqx.livedrive.com/item/3cf005024d61492bbdff080225a22908"
    ),


    new Book(
    "http://ws.assoc-amazon.de/widgets/q?_encoding=UTF8&Format=_SL110_&ASIN=1458756645&MarketPlace=DE&ID=AsinImage&WS=1&tag=httpwwwradics-21&ServiceVersion=20070822",
    "http://www.assoc-amazon.de/e/ir?t=httpwwwradics-21&l=as2&o=3&a=1458756645",
    "http://www.amazon.de/gp/product/1458756645/ref=as_li_ss_il?ie=UTF8&tag=httpwwwradics-21&linkCode=as2&camp=1638&creative=19454&creativeASIN=1458756645",
    "Abolishing performance appraisals"
    ),


    new Book(
    "http://ws.assoc-amazon.de/widgets/q?_encoding=UTF8&Format=_SL110_&ASIN=0988001624&MarketPlace=DE&ID=AsinImage&WS=1&tag=httpwwwradics-21&ServiceVersion=20070822",
    "http://www.assoc-amazon.de/e/ir?t=httpwwwradics-21&l=as2&o=3&a=0988001624",
    "http://www.amazon.de/gp/product/0988001624/ref=as_li_ss_il?ie=UTF8&tag=httpwwwradics-21&linkCode=as2&camp=1638&creative=19454&creativeASIN=0988001624",
    "The human side of agile"
    ),

    new Book(
    "http://ws.assoc-amazon.de/widgets/q?_encoding=UTF8&Format=_SL110_&ASIN=1594484805&MarketPlace=DE&ID=AsinImage&WS=1&tag=httpwwwradics-21&ServiceVersion=20070822",
    "http://www.assoc-amazon.de/e/ir?t=httpwwwradics-21&l=as2&o=3&a=1594484805",
    "http://www.amazon.de/gp/product/1594484805/ref=as_li_ss_il?ie=UTF8&tag=httpwwwradics-21&linkCode=as2&camp=1638&creative=19454&creativeASIN=1594484805",
    "Drive: The Surprising Truth About What Motivates Us",
    "http://lpiinyqx.livedrive.com/item/50278048552b470f9d0a9eea0e59502e"
    ),

    new Book(
    "http://ws.assoc-amazon.de/widgets/q?_encoding=UTF8&Format=_SL110_&ASIN=1594487715&MarketPlace=DE&ID=AsinImage&WS=1&tag=httpwwwradics-21&ServiceVersion=20070822",
    "http://www.assoc-amazon.de/e/ir?t=httpwwwradics-21&l=as2&o=3&a=1594487715",
    "http://www.amazon.de/gp/product/1594487715/ref=as_li_ss_il?ie=UTF8&tag=httpwwwradics-21&linkCode=as2&camp=1638&creative=19454&creativeASIN=1594487715",
    "Where Good Ideas Come From: The Natural History of Innovation",
    "http://lpiinyqx.livedrive.com/item/9bc46629ebfc4be2ad8421e1e51889a1"
    ),

    new Book(
    "http://ws.assoc-amazon.de/widgets/q?_encoding=UTF8&Format=_SL110_&ASIN=1892005034&MarketPlace=DE&ID=AsinImage&WS=1&tag=httpwwwradics-21&ServiceVersion=20070822",
    "http://www.assoc-amazon.de/e/ir?t=httpwwwradics-21&l=as2&o=3&a=1892005034",
    "http://www.amazon.de/gp/product/1892005034/ref=as_li_ss_il?ie=UTF8&tag=httpwwwradics-21&linkCode=as2&camp=1638&creative=19454&creativeASIN=1892005034",
    "Nonviolent Communication: A Language of Life",
    "http://lpiinyqx.livedrive.com/item/3139fabf09c645e698bb552feeb3f59f"
    ),

    new Book(
    "http://ws.assoc-amazon.de/widgets/q?_encoding=UTF8&Format=_SL110_&ASIN=0321579364&MarketPlace=DE&ID=AsinImage&WS=1&tag=httpwwwradics-21&ServiceVersion=20070822",
    "http://www.assoc-amazon.de/e/ir?t=httpwwwradics-21&l=as2&o=3&a=0321579364",
    "http://www.amazon.de/gp/product/0321579364/ref=as_li_ss_il?ie=UTF8&tag=httpwwwradics-21&linkCode=as2&camp=1638&creative=19454&creativeASIN=0321579364",
    "Succeeding with Agile: Software Development Using Scrum"
    ),

    new Book(
    "http://ws.assoc-amazon.de/widgets/q?_encoding=UTF8&Format=_SL110_&ASIN=0061251321&MarketPlace=DE&ID=AsinImage&WS=1&tag=httpwwwradics-21&ServiceVersion=20070822",
    "http://www.assoc-amazon.de/e/ir?t=httpwwwradics-21&l=as2&o=3&a=0061251321",
    "http://www.amazon.de/gp/product/0061251321/ref=as_li_ss_il?ie=UTF8&tag=httpwwwradics-21&linkCode=as2&camp=1638&creative=19454&creativeASIN=0061251321",
    "Tribal Leadership: Leveraging Natural Groups to Build a Thriving Organization",
    "http://lpiinyqx.livedrive.com/item/fe0326868e044ba49e7522d1e3cfa9fa"
    ),

    new Book(
    "http://ws.assoc-amazon.de/widgets/q?_encoding=UTF8&Format=_SL110_&ASIN=0787960756&MarketPlace=DE&ID=AsinImage&WS=1&tag=httpwwwradics-21&ServiceVersion=20070822",
    "http://www.assoc-amazon.de/e/ir?t=httpwwwradics-21&l=as2&o=3&a=0787960756",
    "http://www.amazon.de/gp/product/0787960756/ref=as_li_ss_il?ie=UTF8&tag=httpwwwradics-21&linkCode=as2&camp=1638&creative=19454&creativeASIN=0787960756",
    "The Five Dysfunctions of a Team: A Leadership Fable",
    "http://lpiinyqx.livedrive.com/item/176f3d278d584bf384b88b5c868c282e"
    ),

    new Book(
    "http://ws.assoc-amazon.de/widgets/q?_encoding=UTF8&Format=_SL110_&ASIN=1617290084&MarketPlace=DE&ID=AsinImage&WS=1&tag=httpwwwradics-21&ServiceVersion=20070822",
    "http://www.assoc-amazon.de/e/ir?t=httpwwwradics-21&l=as2&o=3&a=1617290084",
    "http://www.amazon.de/gp/product/1617290084/ref=as_li_ss_il?ie=UTF8&tag=httpwwwradics-21&linkCode=as2&camp=1638&creative=19454&creativeASIN=1617290084",
    "Specification by Example: How Successful Teams Deliver the Right Software"
    ),

    new Book(
    "http://ws.assoc-amazon.de/widgets/q?_encoding=UTF8&Format=_SL110_&ASIN=0374275637&MarketPlace=DE&ID=AsinImage&WS=1&tag=httpwwwradics-21&ServiceVersion=20070822",
    "http://www.assoc-amazon.de/e/ir?t=httpwwwradics-21&l=as2&o=3&a=0374275637",
    "http://www.amazon.de/gp/product/0374275637/ref=as_li_ss_il?ie=UTF8&tag=httpwwwradics-21&linkCode=as2&camp=1638&creative=19454&creativeASIN=0374275637",
    "Thinking, Fast and Slow"
    ),

    new Book(
    "http://ws.assoc-amazon.de/widgets/q?_encoding=UTF8&Format=_SL110_&ASIN=0131479415&MarketPlace=DE&ID=AsinImage&WS=1&tag=httpwwwradics-21&ServiceVersion=20070822",
    "http://www.assoc-amazon.de/e/ir?t=httpwwwradics-21&l=as2&o=3&a=0131479415",
    "http://www.amazon.de/gp/product/0131479415/ref=as_li_ss_il?ie=UTF8&tag=httpwwwradics-21&linkCode=as2&camp=1638&creative=19454&creativeASIN=0131479415",
    "Agile Estimating and Planning"
    ),


    new Book(
    "http://ws.assoc-amazon.de/widgets/q?_encoding=UTF8&Format=_SL110_&ASIN=1118206665&MarketPlace=DE&ID=AsinImage&WS=1&tag=httpwwwradics-21&ServiceVersion=20070822",
    "http://www.assoc-amazon.de/e/ir?t=httpwwwradics-21&l=as2&o=3&a=1118206665",
    "http://www.amazon.de/gp/product/1118206665/ref=as_li_ss_il?ie=UTF8&tag=httpwwwradics-21&linkCode=as2&camp=1638&creative=19454&creativeASIN=1118206665",
    "Software in 30 Days: How Agile Managers Beat the Odds, Delight Their Customers, And Leave Competitors In the Dust"
    ),


    /*


    new Book(
    "img",
    "pixel",
    "link",
    "title",
    "booknotes url"
    ),
    */

    ];


    function browse(){
    arrayIndex = Math.floor(Math.random()*books.length);
    currentBook = books[arrayIndex];
    bookContainer = document.getElementById("bookContainer");
    bookContainer.innerHTML = "";
    link = document.createElement("a");
    link.href=currentBook.url;
    link.target="new";

    bookImage = document.createElement("img");
    bookImage.src=currentBook.imgurl;
    bookImage.border=0;
    link.appendChild(bookImage);
    bookContainer.appendChild(link);

    bookPixel = document.createElement("img");
    bookPixel.src=currentBook.pixelUrl;
    bookPixel.border=0;
    bookPixel.width=1;
    bookPixel.height=1;
    bookContainer.appendChild(bookPixel);

    bookTitle = document.createElement("div");
    bookTitle.innerText = currentBook.title;
    bookTitle.style.clear="both";
    bookTitle.style.fontSize=10;
    bookTitle.style.fontFamily="Verdana";
    bookContainer.appendChild(bookTitle);

    if (currentBook.bookNotes){
        bookNotesLink = document.createElement("div");
        bookNotesLink.style.clear="both";
        bookNotesLink.style.fontSize=10;
        bookNotesLink.style.fontFamily="Verdana";
        link = document.createElement("a");
        link.href=currentBook.bookNotes;
        link.target="new";
        link.innerText="DL my book notes";
        bookNotesLink.appendChild(link);
        bookContainer.appendChild(bookNotesLink);
    }
}

</script>


<div id="bookContainer">

</div>

<script type="text/javascript">
browse();
</script>


</body>

</html>